\hypertarget{class_zebulon_1_1_m_c_u_1_1_query_report}{
\section{Zebulon::MCU::QueryReport Class Reference}
\label{class_zebulon_1_1_m_c_u_1_1_query_report}\index{Zebulon::MCU::QueryReport@{Zebulon::MCU::QueryReport}}
}


A Query message with custom contents that can be used to get specific data responses from an MCU.  


{\ttfamily \#include $<$queryreport.h$>$}Inheritance diagram for Zebulon::MCU::QueryReport::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_zebulon_1_1_m_c_u_1_1_query_report}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_query_report_a06d1e9c22ba179b5f517969362456a47}{
\hyperlink{class_zebulon_1_1_m_c_u_1_1_query_report_a06d1e9c22ba179b5f517969362456a47}{QueryReport} ()}
\label{class_zebulon_1_1_m_c_u_1_1_query_report_a06d1e9c22ba179b5f517969362456a47}

\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_query_report_a732dcaf561fc8b32f5f80f6b73dfe695}{
virtual \hyperlink{class_zebulon_1_1_m_c_u_1_1_query_report_a732dcaf561fc8b32f5f80f6b73dfe695}{$\sim$QueryReport} ()}
\label{class_zebulon_1_1_m_c_u_1_1_query_report_a732dcaf561fc8b32f5f80f6b73dfe695}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_m_c_u_1_1_query_report_a1b59ce285a9d1c28ff75992e964402b1}{WriteMessageBody} (CxUtils::Packet \&packet) const 
\begin{DoxyCompactList}\small\item\em Writes the contents of the message payload to the packet. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_m_c_u_1_1_query_report_a84f21d8a36d458f639f38fb549257070}{ReadMessageBody} (const CxUtils::Packet \&packet)
\begin{DoxyCompactList}\small\item\em Reads the contents of the message payload from the packet, and saves to internal data members. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_query_report_aeb1d0d83302c3a10d972a95dee175b72}{
virtual void \hyperlink{class_zebulon_1_1_m_c_u_1_1_query_report_aeb1d0d83302c3a10d972a95dee175b72}{Print} () const }
\label{class_zebulon_1_1_m_c_u_1_1_query_report_aeb1d0d83302c3a10d972a95dee175b72}

\begin{DoxyCompactList}\small\item\em Prints message contents to console. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_query_report_a0f30004b2e68186945b1f698c598066a}{
virtual \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Message} $\ast$ \hyperlink{class_zebulon_1_1_m_c_u_1_1_query_report_a0f30004b2e68186945b1f698c598066a}{Clone} () const }
\label{class_zebulon_1_1_m_c_u_1_1_query_report_a0f30004b2e68186945b1f698c598066a}

\begin{DoxyCompactList}\small\item\em Makes a clone of the message. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_query_report_a3602e6c3e9bf562709bb9331f340a4d0}{
unsigned char \hyperlink{class_zebulon_1_1_m_c_u_1_1_query_report_a3602e6c3e9bf562709bb9331f340a4d0}{mPayload} \mbox{[}4\mbox{]}}
\label{class_zebulon_1_1_m_c_u_1_1_query_report_a3602e6c3e9bf562709bb9331f340a4d0}

\begin{DoxyCompactList}\small\item\em Query report message payload. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A Query message with custom contents that can be used to get specific data responses from an MCU. The payload contents of this message will be specific to your MCU and the types of response messages your MCU can generate. 

\subsection{Member Function Documentation}
\hypertarget{class_zebulon_1_1_m_c_u_1_1_query_report_a84f21d8a36d458f639f38fb549257070}{
\index{Zebulon::MCU::QueryReport@{Zebulon::MCU::QueryReport}!ReadMessageBody@{ReadMessageBody}}
\index{ReadMessageBody@{ReadMessageBody}!Zebulon::MCU::QueryReport@{Zebulon::MCU::QueryReport}}
\subsubsection[{ReadMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int QueryReport::ReadMessageBody (const CxUtils::Packet \& {\em packet})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_m_c_u_1_1_query_report_a84f21d8a36d458f639f38fb549257070}


Reads the contents of the message payload from the packet, and saves to internal data members. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to read from.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.\hypertarget{class_zebulon_1_1_m_c_u_1_1_query_report_a1b59ce285a9d1c28ff75992e964402b1}{
\index{Zebulon::MCU::QueryReport@{Zebulon::MCU::QueryReport}!WriteMessageBody@{WriteMessageBody}}
\index{WriteMessageBody@{WriteMessageBody}!Zebulon::MCU::QueryReport@{Zebulon::MCU::QueryReport}}
\subsubsection[{WriteMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int QueryReport::WriteMessageBody (CxUtils::Packet \& {\em packet}) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_m_c_u_1_1_query_report_a1b59ce285a9d1c28ff75992e964402b1}


Writes the contents of the message payload to the packet. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to write to.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/mcu/include/mcu/\hyperlink{queryreport_8h}{queryreport.h}\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/mcu/src/mcu/queryreport.cpp\end{DoxyCompactItemize}
